<form id="pagerForm" method="post" action="{:url('Bill/index')}">
    <input type="hidden" name="company_name" value="{$company_name|default=''}"/>
    <input type="hidden" name="telephone" value="{$telephone|default=''}"/>
    <input type="hidden" name="pageNum" value="{$pageNum}"/>
</form>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" action="{:url('Bill/index')}" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        检车站名称：<input type="text" name="company_name" value="{$company_name|default=''}"/>
                    </td>
                </tr>
            </table>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">搜索</button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent">
    <table class="table" width="101.8%" layoutH="108.9">
        <thead>
        <tr>
            <th width="30%">商家名称</th>
            <th width="15%">商家电话</th>
            <th width="40%">企业地址</th>
            <th width="10%">操作</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
        <tr target="userId" rel="{$vo.id}">
            <td>{$vo.company_name}</td>
            <td>{$vo.telephone}</td>
            <td>{$vo.province|region_name}{$vo.city|region_name}{$vo.district|region_name}{$vo.company_addr}</td>
            <td class="bill">
                <a rel="bill_see" class="adeditd" href="{:url('Bill/exhibition')}?cid={$vo.id}" target='navTab' title="查看账单" mask="true">账单详情</a>
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="panelBar">
        <div class="pages">
            <span>共{$count}条</span>
        </div>
        <div class="pagination" targetType="navTab" totalCount="{$count}" numPerPage="{$numPerPage}" pageNumShown="10"
             currentPage="{$pageNum}"></div>
    </div>
</div>
